#ifndef CONNECTEDCOMPONENTS_H
#define	CONNECTEDCOMPONENTS_H

#include "Effect.h"
#include "Effects.h"
#include "Gray.h"

class ConnectedComponents : public Effects {
public:
    ConnectedComponents(Effects *effects);
    virtual ~ConnectedComponents();

    virtual IplImage* apply(const IplImage* in);

    Effects *effects;
private:
    Gray grayEffect;

};

#endif	/* CONNECTEDCOMPONENTS_H */

